for filename in ./*
do 
  if [ ${filename##*.} = 'proto' ]
  then 
    echo $filename is processing... 
    protoc --java_out=../DerbyJFXClnt/src $filename
    echo Done!
  fi
done;

